<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>问题与回答</title>
  <!-- 引入 Chart.js -->
  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
  <link rel="stylesheet" href="css/annotation.css">
</head>

<body>
  <script src="js/config.js"></script>
  <div class="header">生成式病历</div>
  <button class="down-arrow-button" id="downArrowButton"></button>
  <div class="container">
    <!-- 左侧：问题和回答 -->
    <div class="left-section">
      <div class="title">病历原始语料</div>
      <div class="question" id="question">输入信息</div>
      <div class="answer-container">
        <div class="answer-left">
          <div class="title">AI生成病历</div>
          <div class="answer" id="answerLeft">AI生成病历</div>
        </div>
        <div class="answer-right">
          <div class="title">医生修正病历</div>
          <div class="answer" id="answerRight">医生修正内容</div>
        </div>
      </div>

      <!-- 按钮 -->
      <div class="button-container">
        <button id="rejectBtn" class="button reject-button">弃用</button>
        <button id="approveBtn" class="button approve-button">保留</button>
      </div>
    </div>

    <!-- 右侧：饼图和数据 -->
    <div class="right-section">
      <!-- 饼图 -->
      <div class="pie-chart-container">
        <canvas id="pieChart"></canvas>
      </div>

      <!-- 数据状态 -->
      <div class="data-grid" id="dataGrid"></div>
    </div>
  </div>
  <script src="js/arrow.js"></script>
  <script src="js/annotation.js"></script>
</body>

</html>